<p id="lang-shift">
	<?php if ($this->urlParams('locale') == 'en'):?>
	<a href="<?php print $this->url(array('locale' => 'pl'));?>"><img src="<?php print $this->styleResource('img/polska.jpg'); ?>" alt="Polsąa wersja" /></a>
	<?php else:?>
	<a href="<?php print $this->url(array('locale' => 'en'));?>"><img src="<?php print $this->styleResource('img/english.jpg'); ?>" alt="English version" /></a>
	<?php endif;?>
</p>

<?php 
	/* @var $static Promotor_View_Helper_Site_Static */
	$static = $this->getHelper('site')->get('static');
	$static->setLocale($this->urlParams('locale'));
?>

<div id="header">
	<div class="wrapper">
		<a class="logo" href="<?php print $this->getHelper('BaseUrl')?>" title="Kancelaria tłumacza - Monika Mostowy">Kancelaria tłumacza – Monika Mostowy</a>
	</div>
	
	<div class="cycle">
		<?php print $static->setAlias('blok-head')?>
	</div>
	<script type="text/javascript">
	<!--
	$(document).ready(function() {

		function _gfx() {
		    $('.cycle li').each(function(k, item){
		    	$('.cycle ul').animate({left: "-=500px",width : "+=500px"}, 5000);
			});
	
		    $('.cycle ul').animate({left: "0px", width: '1024px'}, 1000);
		}

		_gfx();
		setInterval(_gfx, $('.cycle li').size()*5000);
	});
	-->
	</script>

</div>